package com.wh.base.sys.role.controller.form;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

import io.swagger.annotations.ApiOperation;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;


@Data
@ApiOperation(value = "根据id查询表单类")
public class IdForm {

	@NotNull(message = "id不能为空")
	@Min(value = 1, message = "id不能小于1")
	@Schema(description = "id")
	private Long id;

}
